package cn.jszhao.service.impl;

import cn.jszhao.annotation.Bean;
import cn.jszhao.annotation.Di;
import cn.jszhao.dao.UserDao;
import cn.jszhao.service.UserService;

/**
 * @author: 紫麒麟vip
 * @create: 2024/6/29
 * Description:
 */
@Bean
public class UserServiceImpl implements UserService {

    @Di
    private UserDao userDao;

    @Override
    public void out() {
        userDao.print();
        System.out.println("Service层执行结束");
    }
}

